package cn.larry.spel.domain;

import java.util.Date;
import java.util.List;

/**
 * @author LarryZeal
 *
 */
public class Inventor {
	private String name; // 姓名
	private Date birthday; // 生日
	private String nationality; // 国籍
	private Address address; // 地址
	private List<String> invention; // 发明

	public Inventor(String name, Date birthday, String nationality) {
		super();
		this.name = name;
		this.birthday = birthday;
		this.nationality = nationality;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNationality() {
		return nationality;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public List<String> getInvention() {
		return invention;
	}

	public void setInvention(List<String> invention) {
		this.invention = invention;
	}

	@Override
	public String toString() {
		return "Inventor [name=" + name + ", birthday=" + birthday + ", nationality=" + nationality + ", address="
				+ address + ", invention=" + invention + "]";
	}

}
